﻿using Mt.Site.Application.ContentManagement.Dto;
using Mt.Site.Application.ContentManagement.Preview.Dto;
using Mt.Site.Application.Dto;
using Mt.Site.Application.Dto.Add;
using Mt.Site.Core.ContentManagement.Preview;
using Mt.Site.Core.ContentManagement.Values;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Mt.Site.Application.ContentManagement.Preview
{
    public interface IPreviewAppService : IBackEndAppService
    {
        Task<PreviewTokenInfo> GetPreviewTokenAsync(PreviewTokenInput input);

        Task<PreviewTokenInfo> UpdateTokenExpireTimeAsync(SetPreviewExpireTimeInput input);
    }
}
